﻿<html>

<head>

<!--COMMON :include style and javascript code-->
${inc:/action/pub/common}

<title></title>

</head>

<body onmouseup="hidInputValidatorTip(3);">
${inc:/action/pub/header}

<center>
<!-- <div id="tabs">
    <ul id="nav">
    <div id="test">
		<rows>
        <li onclick="changeLiStyle(this);">
            <a  
                onmouseover="javascript:window.status='';return true;" 
                onmouseout="javascript:window.status='';return true;" 
                href='#' 
                onclick='javascript:detailIFrame(${fld:category_id})'>
                <span id="formTitlePan">${fld:category_name}</span>
            </a>
        </li>
        </rows>
    </div>
    </ul>
</div> -->
<div id="titleDiv" align="left">
	<font size="5"><b>${fld:master_name}</b></font>
	<div id="shenheFlag" style="display:none;">
		<input type="button" class="cmd" value="审核通过" onclick="shenheLiangfang(0)">
		<input type="button" class="cmd" value="审核不通过" onclick="shenheLiangfang(1)">
	</div>
</div>
<div id=tabs>
    <ul>
        <li onclick="changeLiStyle(this);">
            <a  
                onmouseover="javascript:window.status='';return true;" 
                onmouseout="javascript:window.status='';return true;" 
                href='#' 
                onclick='JavaScript:detailIFrame("hjmx");'>
                <span id="formTitleFilter">户籍明细(${fld:detail_count}人)</span>
            </a>
        </li>
        <li onclick="changeLiStyle(this);">
            <a  
                onmouseover="javascript:window.status='';return true;" 
                onmouseout="javascript:window.status='';return true;" 
                href='#' 
                onclick='JavaScript:detailIFrame("fyff");'>
                <span id="formTitleFilter">费用发放${fld:fee_status_desc}</span>
            </a>
        </li>
        <li onclick="changeLiStyle(this);">
            <a  
                onmouseover="javascript:window.status='';return true;" 
                onmouseout="javascript:window.status='';return true;" 
                href='#' 
                onclick='JavaScript:detailIFrame("hqsx");'>
                <span id="formTitleFilter">回迁室型
                <rowsPlacement>${fld:room_type}</rowsPlacement></span>
            </a>
        </li>
    </ul>
    <div id='hline'></div>
</div>
<iframe id="detail" name="detail" marginwidth="0" scrolling="yes" frameborder="0" style="height:0%;width:100%;visibility:hidden">
</iframe>
</center>

</body>

</html>
<script language="javascript">
function detailIFrame(type_name)
{
	document.getElementById("detail").style.visibility = "visible"; 
	document.getElementById("detail").style.height = "80%"; 
    var url= "";
    if (type_name == "hjmx")
    {
        url = "${def:context}/action/dq/master_detail/crud";
    }else if (type_name == "fyff")
    {
        url = "${def:context}/action/dq/fee/crudok";
    }else if (type_name == "hqsx")
    {
        url = "${def:context}/action/dq/yewu/anzhilouyuan/placement/crud";
    }else if (type_name == "fh")
    {
        url = "${def:context}/action/dq/yewu/anzhilouyuan/crud";
    }
	frames['detail'].location.href =url+"?id=${fld:tuid}";
}

function hiddenIFrame()
{
	document.getElementById("detail").style.visibility = "hidden"; 
	document.getElementById("detail").style.height = "0%"; 
}

function shenheLiangfang(state){
	ajaxCall(httpMethod="GET", 
			uri="${def:actionroot}/shenhe" + "?id=${fld:id}&shenhe_flag=" + state, 
			divResponse=null, 
			divProgress=null, 
			formName=null, 
			afterResponseFn=null, 
			onErrorFn=null);
}

window.onload = function(){
	if("${fld:flag}" == "shenhe"){
		document.getElementById("shenheFlag").style.display = "inline";
	}
}
</script>